const mongoose = require("mongoose")

//链接库
mongoose.connect("mongodb://127.0.0.1/item_925").then(() => {
    console.log("链接库成功")
}).catch(() => {
    console.log("链接库失败")
})

module.exports = mongoose